package com.prs.crm.service.sale;

import java.util.List;

import com.prs.crm.domain.sale.SalesContract;
import com.prs.crm.domain.sale.SalesShipping;
import com.prs.crm.domain.sale.SalesShippingDetail;
import com.prs.crm.domain.stock.Product;
import com.prs.crm.service.FlowService;

public interface SalesShippingService extends FlowService<SalesShipping> {

	void saveSalesShipping(SalesShipping salesShipping,Product[] products,String[] pronames,Double[] originalCosts,Double[] nowCosts,Integer[] returnsNums,Double[] rebates,Double[] totalPrices,SalesContract[] conratcts);
	
	List<SalesShippingDetail> getAllDetails();
	List<SalesShippingDetail> getAllDetailsBySalesShipping(SalesShipping salesShipping);
}
